#ifndef DETECTION_H
#define DETECTION_H

#include <QWidget>
#include "result.h"
#include "history.h"
#include "setting.h"
#include "login.h"
namespace Ui {
class detection;
}


class detection : public QWidget
{
    Q_OBJECT

public:
    explicit detection(QWidget *parent = 0);
    ~detection();

private slots:



    void on_pushButton_upload_clicked();

    void on_pushButton_detect_by_click_clicked();
signals:
    void sendData(QString,QString,bool);//发送到检测记录界面的数据（信号）,不需要实体函数

private:
    Ui::detection *ui;

    //图片地址
    QString fileName;

    //图片名称
    QString imageName;

    //图片输出地址
    QString outputImageName;


    //多图片选择
    QStringList fileNameList;
    //多张图片的名字
    QStringList imageNameList;
//    //多结果图片输出地址
//    QStringList outputImageList;

//    TitleBar *tBar;
    void makeDirPath(QString dirPath);

};

#endif // DETECTION_H
